<!--
 * @Author: suxunying
 * @desc: 
 * @Date: 2021-07-26 09:19:08
 * @LastEditors: suxunying
 * @LastEditTime: 2021-07-26 11:05:44
 * @FilePath: \bmp-poc\micro\src\components\HelloWorld.vue
-->
<template>
  <div class="hello">
      <h2>micro</h2>
      <p>userinfo: {{ userinfo }}</p>
      <p>language: {{ locale }}</p>
  </div>
</template>

<script>
import { mapGetters } from 'vuex';

export default {
    computed: {
        ...mapGetters(['userinfo', 'locale']),
    },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
